package com.iwunu.gateway.vo;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * @author kinfeng
 * @date 2021-05-21 09:59
 * @desc
 */
public class SendSmsVo implements Serializable {
    private String cc;
    private String phone;
    private Integer code;
    private Integer times; //目前定位三次，短时间内发送三次，提示操作频繁

    public SendSmsVo() {

    }

    public SendSmsVo(String phone) {
        this.phone = phone;
        this.cc = "86";
        this.times=1;
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
